package com.elanfox.littlereporter.service;

import com.elanfox.littlereporter.entity.ContributionPO;
import com.elanfox.littlereporter.model.ContributionSearchCondition;
import org.springframework.data.domain.Page;

/**
 * @author allan
 * @date 2018-03-25
 */
public interface ContributionService {
    ContributionPO save(ContributionPO contributionPO);

    Page<ContributionPO> findAll(int pageIndex, int pageSize, ContributionSearchCondition searchCondition);

    ContributionPO findById(int id);
}
